package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 客户文档
 * </p>
 *
 * @author baiqiang
 * @since 2020-06-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_files")
@ApiModel(value="CrmFiles对象", description="客户文档")
public class CrmFiles extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户ID（必填）")
    @TableField("crm_id")
    private Integer crmId;

    @ApiModelProperty(value = "客户名称（必填）")
    @TableField("crm_name")
    private String crmName;

    @ApiModelProperty(value = "上传文件名（必填）")
    @TableField("upload_files")
    private String uploadFiles;

    @ApiModelProperty(value = "文件等级")
    @TableField("files_grade")
    private String filesGrade;

    @ApiModelProperty(value = "文件类型")
    @TableField("files_type")
    private String filesType;

    @ApiModelProperty(value = "描述")
    @TableField("remarks")
    private String remarks;

    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_name")
    private String updateUserName;

    @TableField("update_user_id")
    private Integer updateUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private Date createDate;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private Date updateDate;

    @ApiModelProperty(value = "状态(0:正常 1:删除 2：停用)")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "模块")
    @TableField("modular")
    private String modular;

    @ApiModelProperty(value = "文件路径")
    @TableField("file_path")
    private String filePath;


}
